class FollowUserListModel {
  bool? hasNext;
  List<FollowUserModel>? list;

  FollowUserListModel({
    this.hasNext,
    this.list,
  });

  factory FollowUserListModel.fromJson(Map<String, dynamic>? json) => FollowUserListModel(
        hasNext: json?["hasNext"],
        list: json?["list"] == null
            ? null
            : List<FollowUserModel>.from(json?["list"].map((x) => FollowUserModel.fromJson(x))),
      );

}

class FollowUserModel {
  List<int>? awards;
  String? createdAt;
  int? fans;
  String? gender;
  bool? hasBanned;
  bool? hasFollow;
  bool? hasLocked;
  bool? isVip;
  String? name;
  String? portrait;
  String? summary;
  bool? superUser;
  bool? isVlogger;
  bool? hasCollected;
  int? totalWorks;
  int? uid;
  String? id;
  String? objcId;
  String? via;
  int? vipLevel;
  int? vidUploadCount;
  int? coverUploadCount;
  int? collectCount;
  int? videoCount;
  int? picsCount;
  int? vloggerType;
  int? works;

  FollowUserModel({
    this.awards,
    this.createdAt,
    this.fans,
    this.gender,
    this.hasBanned,
    this.hasFollow,
    this.hasLocked,
    this.isVip,
    this.name,
    this.portrait,
    this.summary,
    this.superUser,
    this.isVlogger,
    this.totalWorks,
    this.uid,
    this.objcId,
    this.via,
    this.id,
    this.videoCount,
    this.picsCount,
    this.collectCount,
    this.hasCollected,
    this.vipLevel,
    this.vidUploadCount,
    this.coverUploadCount,
    this.vloggerType,
    this.works,
  });

  factory FollowUserModel.fromJson(Map<String, dynamic> json) {
    return FollowUserModel(
      awards: json?["awards"] == null ? null : List<int>.from(json["awards"].map((x) => x)),
      createdAt: json["createdAt"],
      fans: json["fans"],
      gender: json["gender"],
      hasBanned: json["hasBanned"],
      hasFollow: json["hasFollow"],
      hasLocked: json["hasLocked"],
      isVip: json["isVip"],
      name: json["name"],
      portrait: json["portrait"],
      summary: json["summary"],
      superUser: json["superUser"],
      totalWorks: json["totalWorks"],
      uid: json["uid"],
      objcId: json["objcId"],
      via: json["via"],
      vipLevel: json["vipLevel"],
      vidUploadCount: json["vidUploadCount"],
      coverUploadCount: json["coverUploadCount"],
      vloggerType: json["vloggerType"],
      isVlogger: json["isVlogger"],
      id: json["id"],
      collectCount: json["collectCount"],
      videoCount: json["videoCount"],
      picsCount: json["picsCount"],
      hasCollected: json["hasCollected"],
      works: json['works'],
    );
  }

}

class WatchModel {
  int? uid;
  String? name;
  String? gender;
  String? portrait;
  bool? hasLocked;
  bool? hasBanned;
  int? vipLevel;
  bool? isVip;
  bool? hasFollow;
  String? via;
  String? createdAt;

  int? fans; // 粉丝数
  int? follow; // 关注数
  int? collectionCount; // 作品数
  String? summary; // 个性签名
  bool? superUser;
  int? merchantUser;
  List<int>? awards = []; //称号数组
  List<String>? awardsImages = []; //称号数组图片链接

  int? works;

  WatchModel({
    this.uid,
    this.name,
    this.gender,
    this.portrait,
    this.hasLocked,
    this.hasBanned,
    this.vipLevel,
    this.isVip,
    this.hasFollow,
    this.via,
    this.createdAt,
    this.fans,
    this.superUser,
    this.awards,
    this.summary,
    this.awardsImages,
    this.merchantUser,
    this.works,
  });

  WatchModel.fromJson(Map<String, dynamic> json) {
    uid = json['uid'];
    name = json['name'];
    gender = json['gender'];
    portrait = json['portrait'];
    hasLocked = json['hasLocked'];
    hasBanned = json['hasBanned'];
    vipLevel = json['vipLevel'];
    isVip = json['isVip'];
    hasFollow = json['hasFollow'];
    via = json['via'];
    summary = json['summary'];
    createdAt = json['createdAt'];
    fans = json['fans'];
    superUser = json['superUser'];

    works = json['works'];

    merchantUser = json['merchantUser'];
  }
}
